#include "Avalon/Serialization/JsonDataShuttleFactory.hpp"

using namespace Avalon;
using namespace Avalon::Serialization;

JsonDataShuttleFactory::JsonDataShuttleFactory()
    : m_prettyPrint(false) {}

JsonDataShuttleFactory::JsonDataShuttleFactory(bool prettyPrint)
    : m_prettyPrint(prettyPrint) {}

JsonDataShuttleFactory::~JsonDataShuttleFactory() {}

JsonSerializer* JsonDataShuttleFactory::CreateSerializer() {
  return new JsonSerializer(m_prettyPrint);
}

JsonDeserializer* JsonDataShuttleFactory::CreateDeserializer() {
  return new JsonDeserializer();
}
